package cn.usian.service;

import cn.usian.jyzx.model.dto.h5.UserLoginDto;
import cn.usian.jyzx.model.dto.h5.UserRegisterDto;
import cn.usian.jyzx.model.entity.user.UserAddress;
import cn.usian.jyzx.model.vo.common.Result;
import cn.usian.jyzx.model.vo.h5.UserInfoVo;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

public interface UserService {
    void sendCode(String phone);

    void userInfo(UserRegisterDto userRegisterDto);

    Result login(UserLoginDto userLoginDto);

    Result<UserInfoVo> getCurrentUserInfo(HttpServletRequest request);

    Result<List<UserAddress>> findUserAddressList();
}
